package com.softeem.service.impl;

import com.softeem.dao.CourseDao;
import com.softeem.dao.impl.CourseDaoImpl;
import com.softeem.entity.Course;
import com.softeem.service.CourseService;

import java.sql.SQLException;
import java.util.List;

public class CourseServiceImpl implements CourseService {
    private CourseDao dao = new CourseDaoImpl();
    @Override
    public List<Course> findCourse() throws SQLException {
        return dao.findCourse();
    }
}
